package com.zhuang.chapter03;

public class Dog extends Animal {

	private String sex;

	public Dog(String name, int age) {
		super(name, age);
	}

	public Dog() {
	}

	@Override
	public void read() {
		System.out.println("我的名字:" + super.getName() + "," + "我的年龄:" + super.getAge() + "我的性别:" + this.sex);
	}
}
